<?php

{
	
		
}

echo '<body>
		<div id="logo">
			<div id="slider"
				style="width: 696px; height: 220px; overflow: hidden;">
				<ul style="width: 3480px; margin-left: -2088px;">
					<li style="float: left;"><a href="#"><img height="200" width="500"
							src="css/images/pht1.jpg">
					
					</a></li>
					<li style="float: left;"><a href="#"><img height="200" width="500"
							src="css/images/pht2.jpg">
					
					</a></li>
					<li style="float: left;"><a href="#"><img height="300" width="500"
							src="css/images/pht3.jpg">
					
					</a></li>
					<li style="float: left;"><a href="#"><img height="200" width="500"
							src="css/images/pht4.jpg">
					
					</a></li>
					<li style="float: left;"><a href="#"><img height="200" width="500"
							src="css/images/pht5.jpg">
					
					</a></li>
				</ul>
			</div>
			<p id="controls" style="">
				<span id="prevBtn"><a href="javascript:void(0);">Previous</a> </span>
				<span id="nextBtn"><a href="javascript:void(0);">Next</a> </span>
			</p>

		</div>
<div id="banniere"></div>
<div id="menu">        
 <ul class="topnav">  
<li><a href="index.php"> acceuil forum</a></li><li><a href="../index.php">Pigie Web</a></li>';
if(empty($_POST['pseudo'])&& $id==0)
{
echo'<li><a href="register.php"> inscription </a></li>';
}
if(!isset($_SESSION['pseudo'])&& $id==0)
{
echo '<li><a href="connexion.php">connecter</a></li>';	
}

if(isset($_SESSION['_id']))
{
echo '<li><a href="voirprofil.php?action=consulter&m='.$_SESSION['_id'].'">profil</a></li>';
}
if(isset($_SESSION['_id']))
{
echo'<li><a href="deconnexion.php">deconnecter</a></li>';
}
if(isset($_SESSION['_id'])){
echo'<li><a href="amis.php"> messagerie </a></li>';
}
echo '
</li> 
</ul>       
</div>
<div class="clear"> </div>
';
?>